package com.haiwei.poi.word.loop;

/**
 * 循环缓存.
 *
 * @date: 2022-06-26
 * @version: 1.0
 * @author: karry@haiwei.com
 */
public class HaiweiLoopCache {

    private static ThreadLocal<HaiweiLoopStack> LOOP_STACK_CACHE = new ThreadLocal<>();
    
    public static void setLoop(){
        HaiweiLoopStack loopStack = LOOP_STACK_CACHE.get();
        if(loopStack == null){
            loopStack = new HaiweiLoopStack();
            LOOP_STACK_CACHE.set(loopStack);
        }
        
        
    }

}
